use std::path::Path;

pub fn is_in_node_modules(id: &Path) -> bool {
  id.components().any(|comp| comp.as_os_str() == "node_modules")
}
